﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;

namespace DotNetNuke.Modules.ActiveForums
{
	public class AttachInfo
	{
		private int _AttachID;
		private int _ContentId;
		private int _PostID;
		private int _UserID;
		private string _Filename;
		private Array _FileData;
		private string _ContentType;
		private int _FileSize;
		private bool _AllowDownload;
		private bool _DisplayInline;
		private int _DownloadCount;
		private int _ParentAttachId;
		private string _canRead = string.Empty;
		private string _fileUrl = string.Empty;
		public AttachInfo()
		{
		}
		public string CanRead
		{
			get
			{
				return _canRead;
			}
			set
			{
				_canRead = value;
			}
		}
		public int AttachID
		{
			get
			{
				return _AttachID;
			}
			set
			{
				_AttachID = value;
			}
		}
		public int ContentId
		{
			get
			{
				return _ContentId;
			}
			set
			{
				_ContentId = value;
			}
		}
		public int PostID
		{
			get
			{
				return _PostID;
			}
			set
			{
				_PostID = value;
			}
		}
		public int UserID
		{
			get
			{
				return _UserID;
			}
			set
			{
				_UserID = value;
			}
		}
		public string Filename
		{
			get
			{
				return _Filename;
			}
			set
			{
				_Filename = value;
			}
		}
		public Array FileData
		{
			get
			{
				return _FileData;
			}
			set
			{
				_FileData = value;
			}
		}
		public string ContentType
		{
			get
			{
				return _ContentType;
			}
			set
			{
				_ContentType = value;
			}
		}
		public int FileSize
		{
			get
			{
				return _FileSize;
			}
			set
			{
				_FileSize = value;
			}
		}
		public bool AllowDownload
		{
			get
			{
				return _AllowDownload;
			}
			set
			{
				_AllowDownload = value;
			}
		}
		public bool DisplayInline
		{
			get
			{
				return _DisplayInline;
			}
			set
			{
				_DisplayInline = value;
			}
		}
		public int DownloadCount
		{
			get
			{
				return _DownloadCount;
			}
			set
			{
				_DownloadCount = value;
			}
		}
		public int ParentAttachId
		{
			get
			{
				return _ParentAttachId;
			}
			set
			{
				_ParentAttachId = value;
			}
		}
		public string FileUrl
		{
			get
			{
				return _fileUrl;
			}
			set
			{
				_fileUrl = value;
			}
		}
	}
}
